<?php
/**
 * 权限规则模型
 * @author jiangfei
 */
class AuthRuleModel extends Model {
    
	const RULE_URL  = 2;
	const RULE_MAIN = 1;


	public function getListByField($map ,$field) {
		return $this->where($map)->getField($field);
	}

}
